import {
	PageView
} from '@/layouts';

export default {
	path: '/data_center',
	redirect: '/data_center/history',
	component: PageView,
	meta: {
		title: '数据中心',
		icon: 'database',
		permission: [ 'dataCenter' ]
	},
	children: [{
			path: '/data_center/history',
			name: 'HistoryForm',
			component: () => import('@/views/datacenter/History'),
			meta: {
				title: '历史数据',
				permission: [ 'data_list' ]

			},
		},
		{
			path: '/data_center/history_report',
			name: 'HistoryReportForm',
			component: () => import('@/views/datacenter/HistoryReport'),
			meta: {
				title: '历史报表',
				permission: [ 'data_historyForm' ]

			},
		},
		{
			path: '/data_center/statistics',
			name: 'StatisticsForm',
			component: () => import('@/views/datacenter/Statistics'),
			meta: {
				title: '统计报表',
				permission: [ 'YieldReport_list' ]
			},
		},
	]
};
